x86/hvm: load CPU structures from xen versions <=3.4
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Wed, 6 Apr 2011 10:40:54 +0000 (11:40 +0100)
committerGeorge Dunlap <george.dunlap@eu.citrix.com>
Wed, 6 Apr 2011 10:40:54 +0000 (11:40 +0100)
commit620ce29a2d454c131498aebbc927510c63592735
treee443e428e22316202216fd415d87440ed7c5b3ae
parente5cc617a7090b35c001145f53c66194c9dd07075
x86/hvm: load CPU structures from xen versions <=3.4

Xen 4.0 added "msr_tsc_aux" in the middle of the hvm_hw_cpu structure, making
it incompatible with pre-3.4 savefiles.  This patch uses the recently introduced
backwards-compatibility infrastructure to convert the old to the new.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
Committed-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/include/public/arch-x86/hvm/save.h